package website.haicheng.server.common.annotations;

import website.haicheng.server.common.enums.MessageEnum;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @Author: 582895699@qq.com
 * @Desctription: 逻辑类型
 * @Date: Created in 2021/12/1 16:25
 */
@Target({TYPE})
@Retention(RUNTIME)
public @interface Handler {

    /**
     * 类型
     *
     * @return String
     */
    MessageEnum value();
}
